<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
    </head>
    <body>
        <script>
            // function Phone(){};
            // Phone.name="手机";
            // Phone.call = function(){
            //     console.log("我可以打电话");
            // };
            // Phone.prototype.price = 2999;
            // const realme = new Phone();
            // console.log(realme.price);
            // console.log(Phone.name);

            // class Phone{
            //     static name = "手机";
            //     static call = function(){
            //              console.log("我可以打电话");
            //         };
            //     price = 3999;
            // };
            
            //  const realme = new Phone();
            //  console.log(realme.price);
            //  console.log(Phone.name);
        </script>
    </body>
</html>